package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 supplier
 * 
 * @author ruoyi
 * @date 2025-04-12
 */
public class Supplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 供应商ID */
    private Long supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobileNumber;

    /** 电话 */
    @Excel(name = "电话")
    private String phoneNumber;

    /** 经营地址 */
    @Excel(name = "经营地址")
    private String businessAddress;

    /** 应付款 */
    @Excel(name = "应付款")
    private BigDecimal amountPayable;

    /** 初始应付款 */
    @Excel(name = "初始应付款")
    private BigDecimal initialPayment;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private long userId;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setSupplierId(Long supplierId)
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setMobileNumber(String mobileNumber) 
    {
        this.mobileNumber = mobileNumber;
    }

    public String getMobileNumber() 
    {
        return mobileNumber;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setBusinessAddress(String businessAddress) 
    {
        this.businessAddress = businessAddress;
    }

    public String getBusinessAddress() 
    {
        return businessAddress;
    }

    public void setAmountPayable(BigDecimal amountPayable) 
    {
        this.amountPayable = amountPayable;
    }

    public BigDecimal getAmountPayable() 
    {
        return amountPayable;
    }

    public void setInitialPayment(BigDecimal initialPayment) 
    {
        this.initialPayment = initialPayment;
    }

    public BigDecimal getInitialPayment() 
    {
        return initialPayment;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplierId", getSupplierId())
            .append("supplierName", getSupplierName())
            .append("contactName", getContactName())
            .append("mobileNumber", getMobileNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("businessAddress", getBusinessAddress())
            .append("amountPayable", getAmountPayable())
            .append("initialPayment", getInitialPayment())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
